/* Class SelectionPageGui
 * 
 * 
 */
package disasterGameProj;

import java.awt.Graphics;

import javax.swing.JComponent;

public class SelectionPageGui extends JComponent
{
	public Sprite sprite = null;
	
	SelectionPageGui( Sprite spriteObj )
	{
		sprite = spriteObj;
	}
	
    public void paint(Graphics g) 
    {	
    	
    	g.drawImage( sprite.mainScreenImg, 0, 0, null );
    	g.drawImage( sprite.gameTitleImg, 350, 0, null );
    	g.drawImage( sprite.earthquakeImg,350, 300, null );
    	g.drawImage( sprite.epidemicImg,350, 400, null );
    	g.drawImage( sprite.tsunamiImg,350, 500, null );
    	g.drawImage( sprite.startImg, 200, 800, null );
    	g.drawImage( sprite.exitImg, 800, 800, null );
    	
    }
	
}
